what is the program of swapping values